package org.angelica.aliyun.entity;

/**
 * 临时凭证对象
 * @author aizhimin
 */
public class StsToken {
    private String accessKeyId;
    private String accessKeySecret;
    private String securityToken;
    private String expiration;

    public StsToken(){}

    public StsToken(String accessKeyId, String accessKeySecret, String securityToken, String expiration) {
        this.accessKeyId = accessKeyId;
        this.accessKeySecret = accessKeySecret;
        this.securityToken = securityToken;
        this.expiration = expiration;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getSecurityToken() {
        return securityToken;
    }

    public void setSecurityToken(String securityToken) {
        this.securityToken = securityToken;
    }

    public String getExpiration() {
        return expiration;
    }

    public void setExpiration(String expiration) {
        this.expiration = expiration;
    }

    @Override
    public String toString() {
        return "STSToken [accessKeyId=" + accessKeyId + ", accessKeySecret=" + accessKeySecret + ", securityToken="
                + securityToken + ", expiration=" + expiration + "]";
    }
}
